import request from '@/utils/request'



export function specialTypeList(data) { //特种设备台账-列表
  return request({
    url: '/project-quality/api/standingBooSpecialEquipment/page',
    method: 'post',
    data
  })
}


export function specialTypeAdd(data) { //特种设备台账-新增
  return request({
    url: '/project-quality/api/standingBooSpecialEquipment/add',
    method: 'post',
    data
  })
}

//原 put
export function specialTypeEdit(data) { //特种设备台账-编辑
  return request({
    url: '/project-quality/api/standingBooSpecialEquipment/edit',
    method: 'post',
    data
  })
}

//原 del
export function specialTypeDelete(id) { //特种设备台账-删除
  return request({
    url: '/project-quality/api/standingBooSpecialEquipment/del/' + id,
    method: 'get',
  })
}


export function specialTypeDetails(id) { //特种设备台账-详情
  return request({
    url: '/project-quality/api/standingBooSpecialEquipment/' + id,
    method: 'get',
  })
}
export function  specialTypeExport(data) { //特种设备台账-导出
  return request({
      url: '/project-quality/api/standingBooSpecialEquipment/export',
      responseType: 'arraybuffer',
      method: 'POST',
      data,
  })
}